from agno.agent import Agent
from os import getenv
from agno.models.openai.like import OpenAILike

agent = Agent(
    model=OpenAILike(
        # id="qwen3-235b-a22b",
        id="qwen3-max-preview",
        
        
        
        
        
        api_key=getenv("BAILIAN_API_KEY"),
        base_url="https://dashscope.aliyuncs.com/compatible-mode/v1",
    ),
    description="你是一个著名的营销专家。",
    instructions=["你是一名飞机驾驶员，正在一架从夏威夷飞往日本的飞机上。"],
    markdown=True,
    debug_mode=True,
    monitoring=True,
)

agent.print_response("制定一个大胆的商业宣传计划。", stream=True)
